dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b8dd2
)
Follow-up r83827: a Block object will never be internally of TYPE_ID.
author
Happy-melon
<happy-melon@users.mediawiki.org>
Sun, 13 Mar 2011 15:44:49 +0000
(15:44 +0000)
committer
Happy-melon
<happy-melon@users.mediawiki.org>
Sun, 13 Mar 2011 15:44:49 +0000
(15:44 +0000)
includes/Block.php
patch
|
blob
|
history
diff --git
a/includes/Block.php
b/includes/Block.php
index
a58789b
..
d6fd329
100644
(file)
--- a/
includes/Block.php
+++ b/
includes/Block.php
@@
-1003,7
+1003,7
@@
class Block {
list( $target, $type ) = self::parseTarget( $this->mAddress );
# Check whether it's an autoblock
- if( $t
ype == self::TYPE_ID && $t
his->mAuto ){
+ if( $this->mAuto ){
$type = self::TYPE_AUTO;
}